import axios from '@/utils/axios'
import moment from "moment";

export function getResultKpi(params) {
    return axios({
        url: '/ResultKpi/list',
        method: 'post',
        data: params
    })
}

export function addResultKpi(params) {
    return axios({
        url: '/ResultKpi/add',
        method: 'post',
        data: params
    })
}

export function getBackKpiList(params) {
    return axios({
        url: '/ResultKpi/BackKpiList',
        method: 'post',
        data: params
    })
}

export function BackKpiAdd(params) {
    return axios({
        url: '/ResultKpi/BackAdd',
        method: 'post',
        data: params
    })
}

export function updateBackAdd(params) {
    return axios({
        url: '/ResultKpi/updateBackAdd',
        method: 'post',
        data: params
    })
}